#include "Stdafx.h"

#include "WrapperCrane.h"

using namespace WrapperDll;

int main()
{
	WrapperCrane^ test = gcnew WrapperCrane();
	WrapperCompParamdef cpd;
	cpd.kb = 10;
	cpd.ka = 20;
	cpd.typeR = 30;
	
	cpd.numXBeta = gcnew array<float>(3);
	cpd.denXBeta = gcnew array<float>(3);
	cpd.pidXBeta = gcnew array<float>(3);
	cpd.numYAlpha = gcnew array<float>(3);
	cpd.denYAlpha = gcnew array<float>(3);
	cpd.pidYAlpha = gcnew array<float>(3);
	cpd.numR = gcnew array<float>(3);
	cpd.denR = gcnew array<float>(3);
	cpd.pidR = gcnew array<float>(3);

	test->SetComp(cpd);
    test->GetComp();
	return 0;
}